package com.mew.common.entity.prop;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 玩家道具
 * </p>
 *
 * @author Dylin
 * @since 2021-09-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("u_prop")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Prop implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * uid
     */
    private Long userId;

    /**
     * 道具类型
     */
    private Integer propTypeId;

    /**
     * 数量
     */
    private Long number;

    /**
     * 状态 0 有效 1 禁用
     */
    private Integer status;


}
